﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kingdee.BOS.Core.CloudModel.Crm
{
    public class Crm_CashBillDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public string entitytype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string entitytypeid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string billdate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string source_total { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastinvoicedate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string have_invoicetotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastcashbilldate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string received_amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string total { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tablesourcetype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tablesourceid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string periodtime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plandate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_contract { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_contract_amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_latestinvoicedate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_invoicetotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_latestcollectiondate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string plan_orderreceivedamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lineitem_id { get; set; }
    }

    public class Crm_CashBill
    {
        /// <summary>
        /// 
        /// </summary>
        public string tag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cashbillid { get; set; }
        /// <summary>
        /// 山东三元生物科技股份有限公司
        /// </summary>
        public string account_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string account_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string selectlistval { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string selectlistval_id { get; set; }
        /// <summary>
        /// 郭晴雯
        /// </summary>
        public string assigned_user_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string assigned_user_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cashbilldate { get; set; }
        /// <summary>
        /// 电汇
        /// </summary>
        public string paymentmethod { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnGrandTotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnGrandTotal_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnSubTotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnSubTotal_id { get; set; }
        /// <summary>
        /// 收款
        /// </summary>
        public string cashtype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cashtype_id { get; set; }
        /// <summary>
        /// 郭晴雯
        /// </summary>
        public string smcreatorid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string smcreatorid_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string modifiedtime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createdtime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cashbill_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string approveby { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string approveby_id { get; set; }
        /// <summary>
        /// 未提交
        /// </summary>
        public string approvestatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currentapprover { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string debuctionamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string debuctionamount_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string debuctionbalanceamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string debuctionbalanceamount_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currency_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currency_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string filename { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Crm_CashBillDetail> Detail_TabDetails { get; set; }
    }
}
